//
//  RWNetworkService.h
//  RWNetwork
//
//  Created by Ray on 2024/4/25.
//  Copyright © 2024 81SK. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "RWNetworkDefines.h"

NS_ASSUME_NONNULL_BEGIN

@interface RWNetworkService : NSObject

@property (nonatomic, weak) NSObject<RWNetworkServer> *server;

/// 网络状态监听回调
@property (nonatomic, copy) RWNetStatusBlock networkStatusChange;

/// 网络状态
@property (nonatomic, assign, readonly) RWNetReachabilityStatus networkStatus;

/// 是否有网络
@property (nonatomic, assign, readonly) BOOL isReachable;

@end

NS_ASSUME_NONNULL_END
